﻿using System;
using System.Collections.Generic;
using System.Text;

namespace DTO
{
     public class CPHONGDTO
    {
        #region "Atributes"
        private int m_MaPhong;
        private string m_TenPhong;
         private string m_TinhTrangPhong;
        private string m_GhiChu;
        private bool m_Duyet;
        private bool m_TinhTrang;
        private int m_MaLoaiPhong;
        #endregion
        #region "Property"
        public int MaPhong
        {
            get { return m_MaPhong; }
            set { m_MaPhong = value; }
        }       

        public string TenPhong
        {
            get { return m_TenPhong; }
            set { m_TenPhong = value; }
        }        

        public string TinhTrangPhong
        {
            get { return m_TinhTrangPhong; }
            set { m_TinhTrangPhong = value; }
        }
       
        public string GhiChu
        {
            get { return m_GhiChu; }
            set { m_GhiChu = value; }
        }

        public bool Duyet
        {
            get { return m_Duyet; }
            set { m_Duyet = value; }
        }
       
        public bool TinhTrang
        {
            get { return m_TinhTrang; }
            set { m_TinhTrang = value; }
        }     

        public int MaLoaiPhong
        {
            get { return m_MaLoaiPhong; }
            set { m_MaLoaiPhong = value; }
        }
        #endregion
        #region "Constructors"
          public CPHONGDTO()
         {
             MaPhong = 0;
             TenPhong = "";
             TinhTrangPhong ="Trống";
             GhiChu = "";
             Duyet = false;
             TinhTrang = false;
             MaLoaiPhong = 0;
         }
         public CPHONGDTO(int maPhong,string tenPhong, string tinhTrangPhong,string ghiChu, bool duyet,bool tinhTrang,int maLoaiPhong)
         {
             MaPhong = maPhong;
             TenPhong = tenPhong;
             TinhTrangPhong =tinhTrangPhong;
             GhiChu = ghiChu;
             Duyet = duyet;
             TinhTrang =tinhTrang;
             MaLoaiPhong =maLoaiPhong;
         }
        #endregion
    }
}
